﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace SIMS_GUI_Item
{
    public partial class AdminManagementHelp : Form
    {
        public AdminManagementHelp()
        {
            InitializeComponent();
        }

        private void Item_Account_Click(object sender, EventArgs e)
        {
            AdminManagementAccount ac = new AdminManagementAccount();
            ac.Show();
            this.Close();
        }

        private void Item_User_Click(object sender, EventArgs e)
        {
            AdminManagementUser us = new AdminManagementUser();
            us.Show();
            this.Close();
        }

        private void Item_Course_Click(object sender, EventArgs e)
        {
            AdminManagementCourse cs = new AdminManagementCourse();
            cs.Show();
            this.Close();
        }

        private void btn_About_Click(object sender, EventArgs e)
        {
            /*
            About ab = new About();
            ab.BackColor = Color.FromArgb(50, 69, 101);
            ab.Width = 1215;
            ab.Height = 850;
            ab.Location = new Point(209, 175);
            ab.Show();
            */
            this.pnl_About.Controls.Clear();
            ab.TopLevel = false;
            ab.Dock = DockStyle.Fill;
            this.pnl_About.Controls.Add(ab);
            ab.Show();
        }

        About ab;
        private void AdminManagementHelp_Load(object sender, EventArgs e)
        {
            ab = new About();
        }
    }
}
